package cutetd.dao;


import cutetd.db.GaeDbBase;
import cutetd.model.M_User;

public class UserDao extends GaeDbBase {
	public void saveOrUpdate(M_User user) {
		super.saveOrUpdate(user);
	}

	public boolean delete(String key) {
		M_User t = (M_User) super.getObjectByKey(M_User.class, key);
		delete(t);
		return true;
	}
	
	public M_User getObjectByKey(String key) {
		return (M_User) super.getObjectByKey(M_User.class, key);
	}
}
